<?php
// +----------------------------------------------------------------------
// | APP首页入口
// +----------------------------------------------------------------------
namespace app\webapp\controller;
use Request;

class Index extends Base {

    /**
     * 判断是否登录
     * @return void
     */
     public function index(){
        if(!$this->getLoginUser()){
            return $this->redirect(url('webapp/Account/putWechat'));
        }
        return view();
    }
}
